home *** CD-ROM | disk | FTP | other *** search
- #include "defines.h"
- #include "includes.h"
- #include "funcs.h"
-
- void cleanup()
- {
- int freez=1;
- /* clean up the whole list before exiting */
- struct mp3ent *temp ;
- temp=curr;
- while ((temp=zap(temp))!=NULL) ++freez ;
- if (daemonize==0)
- {
- move(LINES-1,0);
- clrtoeol();
- for (qq=STATUSLINE+1;qq<=LINES-3;++qq)
- {
- move(qq,0);
- clrtoeol();
- }
-
- for (x=0;x<=4;++x)
- {
- move(x,0);
- clrtoeol();
- }
- mvprintw(5,(COLS-12)/2,"(%0.5d frees)",freez);
- msgcountback[5]=10;
- clrtoeol();
- refresh();
- sleep(1);
- }
- }
-